<?php
/**
 * Created by PhpStorm.
 * User: Mak
 * Date: 2015/12/23
 * Time: 17:13
 */

header('content-type:text/html;charset=utf-8');
$link = @mysql_connect('localhost','root','');
if(!$link)   { 	die('连接数据库失败！'.mysql_error()); 	}
mysql_query('set names utf8');
mysql_query("use think_bbs");


?>